package pojo.entity;

import org.springframework.stereotype.Component;

/**
 * 商品信息拓展类
 */
@Component
public class GoodInfoExpand extends Comment {
    private String userName; //用户名
    private String goodPresentation; //商品描述，对应数据库的goodName
    private Integer starScore; //商品评分
    private String goodShop; //商品所属店铺

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGoodPresentation() {
        return goodPresentation;
    }

    public void setGoodPresentation(String goodPresentation) {
        this.goodPresentation = goodPresentation;
    }

    public Integer getStarScore() {
        return starScore;
    }

    public void setStarScore(Integer starScore) {
        this.starScore = starScore;
    }

    public String getGoodShop() {
        return goodShop;
    }

    public void setGoodShop(String goodShop) {
        this.goodShop = goodShop;
    }

    @Override
    public String toString() {
        return "GoodInfoExpand{" +
                "userName='" + userName + '\'' +
                ", goodPresentation='" + goodPresentation + '\'' +
                ", starScore=" + starScore +
                ", goodShop='" + goodShop + '\'' +
                '}' + super.toString();
    }
}
